static_library("ReaderWriter") {
  output_name = "lldReaderWriter"
  configs += [ "//llvm/utils/gn/build:lld_code" ]
  deps = [
    "//lld/lib/Core",
    "//llvm/lib/Object",
    "//llvm/lib/Support",
  ]
  sources = [ "FileArchive.cpp" ]

  # FIXME:
  # if (is_msvc) {
  #    cflags = [ "-wd4062" ]
  # }
}
